/**
 * Created by IntelliJ IDEA.
 * User: Alexey Kolonitsky
 * Date: 19.02.11
 * Time: 17:47
 * To change this template use File | Settings | File Templates.
 */
package view.events
{

import flash.events.Event;

import model.vo.LogRecord;

public class RecordEvent extends Event
{
    public static const TWEET:String = "tweetRecord";
    public static const RECORD_DELETE:String = "recordDelete";
    public static const RECORD_CHANGE:String = "recordChange";
    public static const RECORD_ENABLED:String = "recordEnabled";
    public static const LOAD:String = "recordLoad";

    public var record:LogRecord = null;
    public var string:String = "";

    public function RecordEvent(type:String, record:LogRecord=null)
    {
        super(type, true, false);
        this.record = record;
    }

    override public function clone():Event
    {
        return new Event(type, true, false);
    }
}
}
